package com.wiken.orderservice.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestHeader;

@FeignClient(name = "store-service")
public interface StoreServiceClient{
    @PostMapping("/storeservice/userstoreactivity/useStoreActivity")
    boolean useStoreActivity(@RequestBody String userStoreActivityId, @RequestHeader("Authorization") String token);
}
